package subject;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.HashSet;

public interface ISubject  extends Remote {

	public void diffuser(String from, String message) throws RemoteException;

	public void addClient(String nameClient) throws RemoteException;

	public void removeClient(String nameClient) throws RemoteException;

	public HashSet<String> getClients() throws RemoteException;

	public String getName();
	
}
